<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of serviceAceptorValidator
 *
 * @author USUARIO
 */
class serviceAceptorValidator {

    public function validateLisDocContactExist($type="acuerdo",$listSession=null,$email=null){
         if(count($listSession)>0 || $listSession!=null)
         {
            foreach ($listSession as $row)
             {
                 if(strtolower(trim($row[1]))==strtolower(trim($email)))
                 {
                   return false;
                 }
                 
             }
             return true;
         }
         else{
             return false;
         }
        


    }


}
?>
